package org.cuatrovientos.empirefleet;

/**
 * Represents a Tie Bomber
 * @author Sienar Fleet Systems
 * @greets the emperor
 */
public class TieBomber  extends SpaceShip {
	// attack range
	int range;
	// Coordinates
	int x;
	int y;
	int z;
	private int bombs;
	private int speed;
	
	/**
	 * constructor
	 * @param pilotName
	 */
	public TieBomber (String pilotName) {
		super(pilotName, 2);
	}

	/**
	 * only for bomber type (==2)
	 * drop a bomb
	 * @return bomb damage
	 */
	public int dropBomb() {
			return 5;
	}

	/**
	 * only tie advanced and bombers
	 * fires ION cannon
	 * @return damage
	 */
	public int fireIonCannon() {
		return 3;
}

	/**
	 * "I'm firing my laser"
	 * @return laser damage depending of type
	 */
	public int fireLaser() {
		
		return 3;
	}

	/**
	 * move, more or less depending on type
	 * @return positions
	 */
	public int move() {
		
		return 2;
	}
}
